using System;
using System.Collections.Generic;
using System.Text;

namespace DTOLayer
{
    public class SachDTO
    {
        private int _MaSach;
        private string _TenSach;
        private int _MaTheLoai;
        private int _MaTacGia;
        private DateTime _NamXuatBan;
        private int _MaNhaXuatBan;
        private int _TinhTrang;


        public int MaSach
        {
            get { return _MaSach; }
            set { _MaSach = value; }
        }

        public string TenSach
        {
            get { return _TenSach; }
            set { _TenSach = value; }
        }

        public int MaTheLoai
        {
            get { return _MaTheLoai; }
            set { _MaTheLoai = value; }
        }

        public int MaTacGia
        {
            get { return _MaTacGia; }
            set { _MaTacGia = value; }
        }

        public DateTime NamXuatBan
        {
            get { return _NamXuatBan; }
            set { _NamXuatBan = value; }
        }

        public int MaNhaXuatBan
        {
            get { return _MaNhaXuatBan; }
            set { _MaNhaXuatBan = value; }
        }

        public int TinhTrang
        {
            get { return _TinhTrang; }
            set { _TinhTrang = value; }
        }
        public SachDTO()
        {
            MaNhaXuatBan = 0;
            MaSach = 0;
            MaTacGia = 0;
            MaTheLoai = 0;
            TenSach = "";
            TinhTrang = 0;
            NamXuatBan = DateTime.MinValue;
            
        }
    }
}
